From: Antoine Musso Date: Tue, 16 Mar 2004 03:58:36 +0000 (+0000) Subject: fix source forge bug 787780 X-Git-Tag: 1.3.0beta1~784 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=834b876308c1f55aff28d005e81879ec337e55e0;p=lhc%2Fweb%2Fwiklou.git fix source forge bug 787780 Allow = sign in headers. Ex: = my text = crap = will render as

my text = crap

--- diff --git a/includes/Parser.php b/includes/Parser.php index 04cfc35dad..5e5a7d96e6 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -427,7 +427,7 @@ class Parser { for ( $i = 6; $i >= 1; --$i ) { $h = substr( "======", 0, $i ); - $text = preg_replace( "/^{$h}([^=]+){$h}(\\s|$)/m", + $text = preg_replace( "/^{$h}(.+){$h}(\\s|$)/m", "\\1\\2", $text ); } return $text;